move geometry parsing to own method to easier override
fix misspelling