fix bugs, add wtc_page class