A method performed by a wireless device, the method being for handling uplink communication to a network node (111, 112), the wireless device and the network node (111, 112) operating in a wireless communications network, the method comprising: - obtaining a configuration from a first network node, the configuration configuring the wireless device with a set of uplink time-frequency resources to perform random access for data transmission in inactive mode, wherein a size of a buffer for the data transmission of the wireless device is smaller than a threshold, wherein the set of uplink time-frequency resources are allocated in at least one second bandwidth part, BWP, the at least one second BWP being different from a first BWP already allocated to the wireless device, wherein the obtaining is in a first cell, wherein the wireless device enters a second cell, and wherein the method further comprises: - determining whether or not the configuration applies in the second cell, and wherein at least one of: the wireless device determines that the configuration is not to be applied in the second cell, and wherein the method further comprises: - refraining from using the configuration in the second cell, and the wireless device determines that the configuration applies in the second cell, and wherein the method further comprises: - setting the second BWP as active BWP when a random access procedure is triggered for data transmission, wherein a size of a buffer for a further data transmission of the wireless device is smaller than the threshold. - obtaining a configuration from a first network node, the configuration configuring the wireless device with a set of uplink time-frequency resources to perform random access for data transmission in inactive mode, wherein a size of a buffer for the data transmission of the wireless device is smaller than a threshold, wherein the set of uplink time-frequency resources are allocated in at least one second bandwidth part, BWP, the at least one second BWP being different from a first BWP already allocated to the wireless device, - determining whether or not the configuration applies in the second cell, and wherein at least one of: the wireless device determines that the configuration is not to be applied in the second cell, and wherein the method further comprises: - refraining from using the configuration in the second cell, and the wireless device determines that the configuration applies in the second cell, and wherein the method further comprises: - setting the second BWP as active BWP when a random access procedure is triggered for data transmission, wherein a size of a buffer for a further data transmission of the wireless device is smaller than the threshold. the wireless device determines that the configuration is not to be applied in the second cell, and wherein the method further comprises: - refraining from using the configuration in the second cell, and - refraining from using the configuration in the second cell, and the wireless device determines that the configuration applies in the second cell, and wherein the method further comprises: - setting the second BWP as active BWP when a random access procedure is triggered for data transmission, wherein a size of a buffer for a further data transmission of the wireless device is smaller than the threshold. - setting the second BWP as active BWP when a random access procedure is triggered for data transmission, wherein a size of a buffer for a further data transmission of the wireless device is smaller than the threshold.