rect fix