Removing echo of entire  array