Resetting errors 500-506 to 500 in non-debug mode