Bugfix in parsecommand