fixed geometry type issue