Fixed Server memory bug