prevent import error when geometry is not from same type
only read
prevent crash when geometry does not exist