Fixed connection amount change bug