things to check when buying an apartment