minor code cleanup.