fixup frame type bug