updated lib. corrected default value