fixed server side crash