fixing lib copy