fix tpage usage