minor code shrink