Fixed overwrite error