minor fixes in GP framework