fix request objects and debug responses