swap tab order. remove confusting function