use Nil instead of null