fixed g error