variable is not set correctly rule 12