Fixed a bug that exception when parsing annotation