decrementing bugfix