fixed reseting data