bug fix autostarting service