Restore was not working