fix storage put on dirty flag