server stuff

clearing of server state after server strarts