Fix format adjustment of instance ids