fix responses not defined