fixed case of empty file upload submition