make variable value splitting nil value prone