fix lib files