updates to preinserter to make it put metrics in the right spot.