no longer using sed since patching jcpp itself