created get_service()
fixed print error