fix keepBoth