fixed frame cache related issue