add code for restaring of server will not show errors