fixed boundOneWay and some other things