Fix overwrite option