variables not being expanded