fix startup window