fix function name consistency