avoiding costly mistakes