things to check before buying a new flat