fixed reset
put some promises in to attempt to get restore working properly..