fixing restore purchases