fixed static connect() calls