nil problem bug resolved
bug fixes as per generating libraires