bugfix image validator