refactor: cleanup unneeded no null assertion