fixes some minor ie8/9 bugs