fix temporary directory for testing page view