shorten error when called from anonymous function
fix merge driver