fix chmod issue