still more safari fixes

works in all browsers now