fixed assertion