attempting to remove square brackets