ECMS-5613 fix the missing resource problem