Fix static connection method