Fixes to OceanLink pattern writting