Fixed bug #393. refs #393