some speed tweaks