Fix bug on Todo Controller