Fixed initial loading problem.