Remove broken code for stripping square brackets