Fixed another crash bug.