reverting 500 error change