minor code prune