fixed fade-in problem