fix public dir