Just fixing a small mistake in the code where a null value is returned