fix function reference.