fixed error with already existing folders