improve the bookmark text replacement and the main page