Fixed ServiceMode Bug