Removing the squares that appeared in the results