cannot use component var