Correct bug on find_by_id