remove invalid command error on empty command
Ticket #152 - check for eof while parsing strings