fix server mkdir error