fix requests for non existent codes