fix for bad response