push connect before window init.