fixing that new hastily-written entity resolver
formatting