bug fix for bad id on get request