make safe versions of utils