removing functions from pagedata