fixes component templates