fix up a couple bugs breaking client requests