fix outdated assert