bugfix: no repository crash