Fixed variable bug

Inline variable now take precedence over set variables