fixed bug in stratifiedinlet