fix pagiing event