modify id to make sure they are unique