remove all db locks from plan output