change locals config value to undefined