making response codes uniform