fix for bug mantis bug 3812
change wrong error message