improved show apartments performance and fixed issue in config