Solving refinery version issue