fix strange permissions