A hydraulic system for a working machine, the hydraulic system being a load sensing system and comprising a first hydraulic actuator and a first control valve for controlling the flow of hydraulic fluid from a pump to the first hydraulic actuator and for draining hydraulic fluid from the first hydraulic actuator, respectively, and a second hydraulic actuator and a second control valve for controlling the flow of hydraulic fluid from the pump to the second hydraulic actuator and for draining hydraulic fluid from the second hydraulic actuator, respectively, the hydraulic system further comprising a first hydraulic circuit for providing an LS pressure for the first actuator and a second hydraulic circuit for providing an LS pressure for the second actuator, characterized in that at least one of the first and second circuits comprises an offset valve for increasing the LS pressure before providing the LS pressure to the pump, wherein the offset valve comprises a first port for connection to the incoming LS pressure and a second port for connection to a pressure source having higher pressure than the incoming LS pressure, and an LS increasing pressure port for providing an increased LS pressure, and a spool for selecting between a first state, where the first port is closed and the second port is opened, and a second state, where the first port is opened and the second port is closed, wherein the offset valve further comprises a spring arranged to apply a force on the spool in a first direction towards the first state, and the hydraulic system has a means in the form of a conduit connecting the first hydraulic circuit and the spool for applying the incoming LS pressure to the spool for creating a force in said first direction towards the first state, and a means in the form of a conduit connecting the LS increasing pressure port and the spool for applying the increased LS pressure to the spool for creating a force in a second direction towards the second state. a first hydraulic actuator and a first control valve for controlling the flow of hydraulic fluid from a pump to the first hydraulic actuator and for draining hydraulic fluid from the first hydraulic actuator, respectively, and a second hydraulic actuator and a second control valve for controlling the flow of hydraulic fluid from the pump to the second hydraulic actuator and for draining hydraulic fluid from the second hydraulic actuator, respectively, the hydraulic system further comprising a first hydraulic circuit for providing an LS pressure for the first actuator and a second hydraulic circuit for providing an LS pressure for the second actuator, characterized in that at least one of the first and second circuits comprises an offset valve for increasing the LS pressure before providing the LS pressure to the pump, wherein the offset valve comprises a first port for connection to the incoming LS pressure and a second port for connection to a pressure source having higher pressure than the incoming LS pressure, and an LS increasing pressure port for providing an increased LS pressure, and a spool for selecting between a first state, where the first port is closed and the second port is opened, and a second state, where the first port is opened and the second port is closed, wherein the offset valve further comprises a spring arranged to apply a force on the spool in a first direction towards the first state, and the hydraulic system has a means in the form of a conduit connecting the first hydraulic circuit and the spool for applying the incoming LS pressure to the spool for creating a force in said first direction towards the first state, and a means in the form of a conduit connecting the LS increasing pressure port and the spool for applying the increased LS pressure to the spool for creating a force in a second direction towards the second state.