Fix bug on "ON 0" and 'OFF 0".