Fix abs value error