minor utility improvements