try to fix scene access bug.