remove redundant square brackets around address