minor code quality improvement