be more flexible on old ids
correction in readme, and better debug