bugfix unregistered images query