some pagebreaking fixes