fix lang error on certain versions of webkit