fixed chmod