Fixing Library problems

Libery Fix