resolve frame change issue