bugs with null vs undefined