fixed git problem with directories