fixed incorrect permissions