fix public directories