fix function definition names for two of the conversion functions