some fix on libs