fixes for random functions and for sends to busses