fixed up with dirs