revise conversion utility functions

No match.