point app to right error file