fix for cql port offset issue