finally fixed gframe to 0