bug fix file upload restricted