Fixed a minor bug with some ids