fixed library issues.