add check type when send buff