fix cap server double definition