fixing directory's structure