Fixed a bug with dividing by 0 on Connection.
Client couldn't get it's connection, this is also fixed