trying to fix up the unicorn restart problem