check if geometry is nil