handle static rendering