fixed path to directory.rb model.