minor update for speed enhancement

minor speed enhancement update