Flat is not saved in DB