Nifty 50 settled at 24,187, down 50 points or 0.21 per cent, while the Sensex fell 238 points to close at 77,470