fixed indentation in directory.rb