unnecessary null-check