fix for response error in corpus app