fix sending nil