fix page type