added workaround for image upload