fixed build, refs #1