fix https://github.com/fex-team/webuploader/issues/282