fix styling in IE 10+
fix type hinting problems