Fixing a memory issue related to settings variables
New static library generated