adding error helping to config