fix key frames