fix function annotation aop bug