Fix/master/issue 3047