fixed dict access of xs_bprime