Fixed gg/G at top/bottom