Fixed a bug in the nullF function.