removed ={true} on component creation when attribute is true