fixes bug GEOT-4514