fixes #316
Merge pull request #340 from Catrobat/issue#316

fixes #316