fixing duplicate lib call