fix function annotation comments bug