remove unused capture