Persistance: id bug fix