Fix bug in dropzone plugin