Try to fix assertion failure.