fixed mapbender/mapbender#84 (Diego)