Fixed assertion failed.