fixed some variables being compared to the wrong string