fix for lib files