minor code improvements.