fixed the startup