small tweaks to code

unimportant