swapp inner and outer tuples before projection