#27 fix startup errors