Attempt to remove libgeos warning

lots of log in the trace with "ParseException: Expected word but
encountered end of stream"

tried to protected the method to remove that