Fixed some gc_mode 2 bugs.