make sure all IDs are integers