Removing unnecessary square brackets.