gsession type fix