fix some image issues