fixed timeout issue for capture method