resolve change frame issue