added b_str_replace