Fixed input and import issue with ctf client/server