bug fix of start script