fixed the variables