Avoid nulls in case of no var defined.