Fixed some minor bugs in equalizer