Fixed bug about null value being sended to list