fix bug with file uploader widget