Capture non valid commands and show error message