Resetting to master