fix upload files bug. now upload module works fine