rewrite pmrsync to simplify and remove prop file