fixed the number of startup queries