Fix parsing long responses