Handled spaces at the end of page names.