normalize stack defines
Merge pull request #267 from LudwigOrtmann/issue_223

normalize stack defines