Robotic work tool (100) configured for improved turning in a slope (S), said robotic work tool comprising a slope detector (190), at least one magnetic field sensor (170), a controller (110), and at least two driving wheels (130″), the robotic work tool (100) being configured to detect a boundary wire (250) and in response thereto determine if the robotic work tool (100) is in a slope (S), and if so, perform a turn by rotating each wheel (130″) at a different speed thereby reducing a risk of the robotic work tool (100) getting stuck.