Transfer server & fix bugs