insert variable call to avoid replacement error