fixing status command for services