fix server mkdir