small improvement (unused nullcheck)