fixing issue with libraries removed