fixed updated lib

fixing AGCORDOVA-4 and AGCORDOVA-5