fixed the client stub generator and specification parser