now fixed for yui 3.7.0+