removing small duplicate variable