fixing connect callback issue
modifying jars