remove capture from gem