fixed +x for calc_error_profile