bugfixing CGS97