before changing libs