fix create apartment error