fix minus and divide bug