fixed parsing of wrapped expressions

fixes #345
1.3.1-beta7