The pitfalls to avoid when buying a house