fixed bug for component manager