Variable i was echo, I have deleted that line