multiple init bugfix (patch by Alex Beregszaszi <alex@naxine.org>)