fixed image upload bug when using two Image widgets