use validate instead of revalidate for linux compil