fix scene change bug