fix for GEOT-4703
Merge pull request #366 from geosolutions-it/up

 fix for GEOT-4703