fix REQ parameter type

we added assertions to ensure that we got an int but the reader library was passing a str cc @jehiah @danielhfrank