patch one pass compilation