fixed parseCommand no return