solve absolute value