clear output for class