change to lib_common.py