fix ajax-file-upload bug