keep bp_dir variable