minor code formatting tweaks