Fix duplicate tabs