get error header working (I think)