fix with frame.width