Fixed typos in Shape convert functions