catching validation/config errors