Fix bug on component