fixed missing setting for image upload