sorting some variable conflicts