Solved initial display problem