bp: fixed undef value