Fixed a crash-issue.