fix code in all pages