replace binary list by string