some minor bugs with annotation parsing and proxy generation