IE compat + misstypes fix