startup performance issue and duplicate type