Fixed service mode issue.