Fixed minor bug in GRP