put error 404 constants under production mode