regularise style of pg lookup