fixed fgt2 bug