realized these assert functions were not working in ApiHelper, not sure I like this change, but had to do something