Stop execution if invalid entry