refactor lib info