corrected loading local lib