better error message when wrong command is given