fixes mkdir if not exists path