Correcting tabs order