refs #6667 minor changes to work with Mantid