fixed bugs, add compare-rejime