fixed collectrent()

now working successfully.