Correcting hang up on input requirement