avoid using deprecated Guard::Guard (guard/guard)