fix core resource model..