minor tweaks to bytelocks