fix spelling
fix null comparison