remove newline from response, answer password agent