Resolved some bugs in realestatemanagement class.