fixed check mode for service module

this fixes issue  #3476