fixes and image uploads