various minor fixes in GPs framework