drag and drop upload fix (1st try)