minor code style corrections