get the correct vars