fixed apartment not saving bug