bump up dependency version and fix errors