add namespace prefix declaration for elements with a prefix
typo change alert to log