clean up cod defaulting