Autotrade bot stops after maunt

i have problem in laonar pserver, there after teleport characted automaticaly unmaunt trade transport, so after teleport i do in script to maunt, everyting is fine its maunt transport,but instanlty after maunt on transport pet my bot stops.after i click start bot it walks without any problem

[22:25:35] Script: Walking to 1007, -31
[22:25:48] Mounting pet [Ironclad trade Horse]
[22:25:48] Could not start the bot because you are not in town and you are too far away from the
training area

here is the part of script where it stops bot
walk,1029,-47,-21
walk,1017,-37,-20
walk,1007,-31,-20
wait,7000
mount,transport
wait,7000
walk,1007,-31,-20
walk,1000,-31,-20
walk,992,-30,-10
walk,976,-21,2