improve validation demo for input
Simplify invalid fire conditional