work around issues with dup/clone