fixed the handling <init> so that it would pass the XML parser