pg tweaking