quick fix
Merge pull request #4 from doowb/krush/layout-variables

Fix for Stack Overflow question.