change some goto :eof to exit/b