fix lib duplication