wrong variable change