fixed server-side crash