fix space in page type