fixes chmod after PR #11