fix upstart bug