fixing issue with recursive page splitting