minor rect fix