replaced a to span on tabs