rm invalid geometry