1-8 fix for x < 0