fix argument ordering for schemes