minor code style improvement