Directoryparser fix