Edited main flaw of saving data