remove dbProperties
return default 404 in production mode