removed unsed methods and variables from pages