bug fix: incr/decr function

incr/decr fails because of a typo in _incrdecr function.