fix directories property