fix repetitive app db calls
hit validation doc only once