registration bugfix, image loader