fixed validation output error