Fixed sa_connect() bug