fixed resource fade bug