use static files correctly