fixes for some ati cards