2nd attempt to workaround ati bug