init hotspots; preprocess doc