fix wrong frame