fix for connection