small startup bugfixes