remove duplicate insertOnly flag