made component dep local