mantis issue 3681