fixed issue with connection caluculation
coin calculation in combination with money connection mode
cleanup