component config almost working