cleaned up static page routing