Added some prints and check gids size