shell.c error fixed in preprocess() function