fixed response handling from Wit service