fix mkdir option