fix init() pass address of application