fixed another bug for ++ and --