chore: image validation fixed