Seems to be a buffer issue or terminal lenght command did not work properly.
I see some points
1.- Try changing expect command to following format:
send { ignore arg } "some command\r"
2.- Do not use "expect *". Instead use a larger string to compa...