moved Util -> common, fixed \r issue in transformer.