try to migrate all mixtures to middleware