fix bug with start script