fixed startup problem