fixed a bug, where variables weren't evaluated