Revert "get rid of the absolute value"

This reverts commit 2d0b0c5933ed0ef49a3c145a938a6c2fed6ae900.