gp definition bug