fix function names.