partitioning events bug fixes