fixed issue of frame