fixed page size bug