absolute value bug