simplify lib loading