fix performance issue in RunMaven