fixed clearAll in model service