refs #147 fixed assertions