now checks for page splits, still doesn't work ;p