tweak to improve slightly improve performance