remove an unused utility function