fix first frame