fix NoSuchTag exception