Fixes resetting values in localize