fix GS warnings