Fixed server side crashes.