fixing instances by spec, instead of directly reference instance name