modify tactics page code