fix bug in some services