move stop middleware