Fixed typo that passed null