event fixes, image upload fixes