Fixed server crash