Corrected overwrite