Bug fix, abs value needed