middleware&static