check for empty points