fix bug inside server