fixed a lib loading issue