Fix/master/issue 3704