fixed validation failed