Fix defineVariable layout