getting express/resolvers into a good state