fixed output validation error