Fixing refineries