Fix issue #3 (settings not working)