fix the abs() and the defaults value