fixed bug: mkdir if upload dir not exists