change bitmap to frame_table