fix library defaulting