fixing task adding and start-up issues