feature #2858: Fix error message