fixed directory permissions