remove prefix from capture