Fixed bug in directorystructure