Fixed local server bug