A method of operating a user equipment, UE, in a wireless communication system supporting dual connectivity, DC, with a first base station, BS, and a second BS, the method comprising: performing, by the UE, a random access procedure with the second BS, the random access procedure comprising: an initial attempt to transmit a random access preamble to the second BS at an initial transmission power that is based on an initial value of a counter for power ramping, and a subsequent attempt to transmit the random access preamble to the second BS without incrementing the initial value of the counter for power ramping if the initial attempt does not result in an actual transmission due to a transmission power limit based on overlap in time between the initial attempt to transmit the random access preamble to the second BS and another attempt to transmit a random access preamble to the first BS, wherein the random access procedure further comprises: successfully transmitting the random access preamble to the second BS based on the initial value of the counter for power ramping; attempting to receive a random access response from the second BS in response to the successfully transmitted random access preamble, incrementing the value of the counter for power ramping and attempting to retransmit the random access preamble to the second BS at a corresponding incremented transmission power if the random access response is not received. performing, by the UE, a random access procedure with the second BS, the random access procedure comprising: an initial attempt to transmit a random access preamble to the second BS at an initial transmission power that is based on an initial value of a counter for power ramping, and a subsequent attempt to transmit the random access preamble to the second BS without incrementing the initial value of the counter for power ramping if the initial attempt does not result in an actual transmission due to a transmission power limit based on overlap in time between the initial attempt to transmit the random access preamble to the second BS and another attempt to transmit a random access preamble to the first BS, an initial attempt to transmit a random access preamble to the second BS at an initial transmission power that is based on an initial value of a counter for power ramping, and a subsequent attempt to transmit the random access preamble to the second BS without incrementing the initial value of the counter for power ramping if the initial attempt does not result in an actual transmission due to a transmission power limit based on overlap in time between the initial attempt to transmit the random access preamble to the second BS and another attempt to transmit a random access preamble to the first BS, wherein the random access procedure further comprises: successfully transmitting the random access preamble to the second BS based on the initial value of the counter for power ramping; attempting to receive a random access response from the second BS in response to the successfully transmitted random access preamble, incrementing the value of the counter for power ramping and attempting to retransmit the random access preamble to the second BS at a corresponding incremented transmission power if the random access response is not received. successfully transmitting the random access preamble to the second BS based on the initial value of the counter for power ramping; attempting to receive a random access response from the second BS in response to the successfully transmitted random access preamble, incrementing the value of the counter for power ramping and attempting to retransmit the random access preamble to the second BS at a corresponding incremented transmission power if the random access response is not received.