Fixed image validation error