fix calling of osmosis