Fixed error in connection module