fix rent amount calculation