fixed same value bug