fixed bad directorys etc.