make compatible to component 1.0