* avoid implicit creation of global vars * removed stray </small> * fix assignment with undefined variables