fixed incrementing and decrementing