Fix bug of GPC