[Client] remove useless code in directive