fix annotation support bug & add annotation support for methods in controllers