To fix async call from db: to revert