Avoid connecting null value