bind side effect expressions correctly