avoid error using deprecated unite variables