fix model cache error