fix for mantis 3704