Fix bug in look by id