fixed issue with one of the variables