reverted back to image validation