refactoring
fix prevayler recovering