fix validate imge