fix accidental deletion of abs function