fix firefox-ism
function (f = 'default') works in FF but not in chrome
WAT?