fix lib order