fix g issue