Guard against a potential NPE