fixed a bug when BCC is missing