Fixed a bug when feature specifications are saved in incorrect state and then we cannot load the residential