fixed resource id issue