#1 common fixes and special for IE8