fixed server restoring