fix util.uniq for reference element unique. catch exception when parse amd module file ast codes.
optimizes compressor.