fixes to libraries
saving changes