a minor nil-safe fix