format code of utils.pm