cleanup unnecessary null check