tweaks to init local