fixing multiple execution of the Server object