removes all component handlers