fixed dir permissions