fixed small bug in variables dropdowns