Fixed db rollback