remove rest annotation