Fix error in stub server