some startup fixes
some startup fixes