minor code styles