Fixed bug recursing directories