(closes issue #6019)