fix for empty lib