when using init_app still set self.app