fixed recursive permissions