a homeomorphism to the image is not the same as a homeomorphism.
onto is not the same as to
everything is onto its image.