bugfix rent computation