fixed abs mistake