fix the startdev/stopdev's bug.