fixed problem with other directories