fix init not working when called during the 'interactive' state (fixes #40)