add char type validation to the guest