generic pass before merging docrails