removing broken variables