minor tweaks to bst