How first-home buyers can avoid costly mistakes