added missing assert