set duration property nulable