set public dir