Try refactor
Fix context problem in capturer