removing unnecessary variables from page preprocessor function