bug fix to change reqid to id