fixed undefined array where no bbc's exist