add dependencies checking for component init