fixing issue #6 fileuploader widget