fix for refresh not working - now original data is not modified