connect without crashing