make multiple entry points work