Fixed another access violation issue.