fix little bug with call program and stop program