fixed chmod paths