use pair to replace tuple in compiled structure
fix chmod