fixed small bug introduced in 43421f729f99f5455245a8244d580fb0a5474501, refs #363