fix

updated so process wont crash after being started when it is already
running.