hook in middleware