add states check to bcc field for tempalte selector