fix for when rendering cached page would exit program
removed files not used from repo