shell.c lost memory problems fixed