Trying to resolve a variable dependency issue.