filtered out points that contain nil values