fix for libries