fixed cached frame metadata related issue