depracated magic varialbes, adviced to use the callback methods

WIDTH ---> width()
HEIGHT ---> height()
PAGECOUNT ---> pageCount()