some functions have "case 'G0'", where should say "case 'GC'"; will cause error when 'GC' is sent through as collarCond switch.