wait for initial loading