fixed orphan function reference