fix image validator cb