some fixes related to the previous change
Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/incubator-marmotta into develop