fixed page number problems