fixed gof bug