splitting in  astro.server and astro.client