Null has a different meaning from undefined, this line should probably be removed totally