Remove superfluous brackets and checkmarks