fixed library calls