fix bhr imports
fix wrong index
use local only if cache exists
Skip zero values
don't allocate another list
throw more errors