Fix some startup Errors