fix error when frm.dnd_image_upload is null