fixed transition loading bug