fix the first part of mapbender/mapbender#85