use Sub::Override ->restore instead of scoping