bug fix for the JIRA issue WK-19

https://webkarma.atlassian.net/browse/WK-19