macro rendering fix