fix can not mkdir