Checking wrong variable, fixed