refs #276 - fix errors